﻿namespace BloggerBackup
{
    using System;

    [Serializable]
    public class NameOption : INameOption
    {
        private string _BaselineXMLTag;
        private string _CustomText;
        private string _Description;
        private string _FormatString;
        private int _MaxLength;
        private string _Name;

        public NameOption()
        {
            this._Name = "";
            this._Description = "";
            this._MaxLength = 0;
            this._FormatString = "";
            this._BaselineXMLTag = "";
            this._CustomText = "";
        }

        public NameOption(string name, string description, int maxLength, string formatString, string baseXMLTag)
        {
            this._Name = "";
            this._Description = "";
            this._MaxLength = 0;
            this._FormatString = "";
            this._BaselineXMLTag = "";
            this._CustomText = "";
            this._Name = name;
            this._Description = description;
            this._MaxLength = maxLength;
            this._FormatString = formatString;
            this._BaselineXMLTag = baseXMLTag;
        }

        public NameOption(string name, string description, int maxLength, string formatString, string baseXMLTag, string CustomText)
        {
            this._Name = "";
            this._Description = "";
            this._MaxLength = 0;
            this._FormatString = "";
            this._BaselineXMLTag = "";
            this._CustomText = "";
            this._Name = name;
            this._Description = description;
            this._MaxLength = maxLength;
            this._FormatString = formatString;
            this._BaselineXMLTag = baseXMLTag;
            this._CustomText = CustomText;
        }

        public string BaselineXMLTag
        {
            get
            {
                return this._BaselineXMLTag;
            }
            set
            {
                this._BaselineXMLTag = value;
            }
        }

        public string BloggerBackup.INameOption.BaselineXMLTag
        {
            get
            {
                return this._BaselineXMLTag;
            }
            set
            {
                this._BaselineXMLTag = value;
            }
        }

        public string BloggerBackup.INameOption.CustomText
        {
            get
            {
                return this._Description;
            }
            set
            {
                this._Description = value;
            }
        }

        public string BloggerBackup.INameOption.Description
        {
            get
            {
                return this._CustomText;
            }
            set
            {
                this._CustomText = value;
            }
        }

        public string BloggerBackup.INameOption.FormatString
        {
            get
            {
                return this._FormatString;
            }
            set
            {
                this._FormatString = value;
            }
        }

        public int BloggerBackup.INameOption.MaxLength
        {
            get
            {
                return this._MaxLength;
            }
            set
            {
                this._MaxLength = value;
            }
        }

        public string BloggerBackup.INameOption.Name
        {
            get
            {
                return this._Name;
            }
            set
            {
                this._Name = value;
            }
        }

        public string CustomText
        {
            get
            {
                return this._CustomText;
            }
            set
            {
                this._CustomText = value;
            }
        }

        public string Description
        {
            get
            {
                return this._Description;
            }
            set
            {
                this._Description = value;
            }
        }

        public string FormatString
        {
            get
            {
                return this._FormatString;
            }
            set
            {
                this._FormatString = value;
            }
        }

        public int MaxLength
        {
            get
            {
                return this._MaxLength;
            }
            set
            {
                this._MaxLength = value;
            }
        }

        public string Name
        {
            get
            {
                return this._Name;
            }
            set
            {
                this._Name = value;
            }
        }
    }
}

